/*
 * ReservedQuantity.java
 *
 * Created on April 29, 2003, 4:00 PM
 */

package com.scalar.chiptrack.operations;

import java.util.ArrayList;

import com.scalar.chiptrack.sales.LineItem;

/**
 *
 * @author  KUMAR
 */
public final class ReservedQuantity {
    
    
    private int m_quantity = 0;
    private ArrayList m_LineItemQtyAndSchDate = null;

    /** Creates a new instance of ReservedQuantity */
    public ReservedQuantity() {
        m_LineItemQtyAndSchDate = new ArrayList();
    }
    
    public int getQuantity() {
        return m_quantity;
    }
    public void setQuantity (int quantity) {
        m_quantity = quantity;
    }
    
    public ArrayList getLineItemQtyAndSchDateList() {
        return m_LineItemQtyAndSchDate;
    }
    public void getLineItemQtyAndSchDateList (ArrayList lineItemQtyAndSchDate) {
        m_LineItemQtyAndSchDate = lineItemQtyAndSchDate;
    }
    
    public void setLineItemQuantityAndschDates (String salesOrderNo, int lineItemNo, int qty, String scheduleDate, String customerName) {
        m_LineItemQtyAndSchDate.add (new LineItem (salesOrderNo, lineItemNo, qty, scheduleDate,customerName));
    }   
    
}